package com.itheima.service;

import com.itheima.domain.Student;
import com.itheima.domain.User;

import java.util.List;

/**
 * @param
 * @return
 */
public interface UserService {
    List<Student> findAll();

    boolean save(Student user);

    Student findByNum(String number);

    boolean update(Student user);

    boolean deleteByNum(String ids);

    User login(String username, String password);

    List<Student> selectByPage(int i, int i1);
}
